package com.fjwt.gz.core.third.interfaces;

import com.alibaba.fastjson2.JSONObject;
import com.fjwt.gz.core.third.bo.VirtualGoodsSupplierBo;

/**
 * 外部供应商相关服务
 */
public interface OutSideSupplierService {

    /**
     * 设置商品回调地址
     */
    JSONObject setGoodsNotifyUrl(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

    /**
     * 获取全部商品信息
     */
    JSONObject getAllGoods(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

    /**
     * 获取单个商品信息
     */
    JSONObject getGoods(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

    /**
     * 商品订阅
     */
    JSONObject goodsSubscribe(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

    /**
     * 商品取消订阅
     */
    JSONObject goodsUnSubscribe(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

    /**
     * 下单
     */
    JSONObject createOrder(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

    /**
     * 订单查询接口
     */
    JSONObject queryOrder(JSONObject jsonObject, VirtualGoodsSupplierBo virtualGoodsSupplierBo);

}
